I've developing app which can connect to the VPN using NEVPNProtocolIKEv2.
I have a case when i can have some VPN servers. And each of them has own certificate.
I've setup VPN server to return .mobileconfig file, which i can install manually and VPN will work.
I've trying to parse .mobileconfig and create a object of NEVPNProtocolIKEv2 for run VPN from the app.
I've trying to get string value of private key, and create the IdentityData, but VPN is immidiately disconecting.
Is it possible to use NEVPNProtocolIKEv2 and .certificate authorisation, and create a initialize authentication/identity fields from string value of PayloadContent of mobileconfig file?
2
0
928